home *** CD-ROM | disk | FTP | other *** search
/ Internet Surfer 2.0 / Internet Surfer 2.0 (Wayzata Technology) (1996).iso / pc / text / mac / faqs.285 < prev    next >
Encoding:
Text File  |  1996-02-12  |  27.8 KB  |  742 lines

  1. Frequently Asked Questions (FAQS);faqs.285
  2.  
  3.  
  4.  
  5.   take hundreds of hours.
  6.  
  7.   Given that, there are two major programs used for font design on the
  8.   Macintosh, Fontographer ($280) and FontStudio ($400). These programs
  9.   will allow you to import scanned images, and then trace them with
  10.   drawing tools.  The programs will then generate type 1, 3, TrueType
  11.   and Bitmap fonts for either the Macintosh or the IBM PC. They will
  12.   also generate automatic hinting. They also open previously constructed
  13.   outline fonts, allowing them to be modified, or converted into another
  14.   format.
  15.  
  16.   As far as I know, there are no shareware programs that allow you to
  17.   generate outline fonts.
  18.  
  19.  
  20. 5. Problems and possible solutions
  21.  
  22.   1) Another font mysteriously appears when you select a certain font for
  23.      display. This is often the result of a font id conflict. All fonts on
  24.      the Macintosh are assigned a font id, an integer value. When two fonts
  25.      have the same id, some programs can become confused about the
  26.      appropriate font to use. Microsoft word 4.0 used font id's to assign
  27.      fonts, not their names.  Since id's can be different on different
  28.      computers, a word document's font could change when it was moved from
  29.      one computer to another. Other signs of font id problems are
  30.      inappropriate kerning or leading (the space between lines of text).
  31.      Some font ID problems can be resolved by using Suitcase, which will
  32.      reassign font ID's for you, as well as saving a font ID file that can
  33.      be moved from computer to computer to keep the id's consistent.  Font
  34.      ID problems can also be solved with several type utilities, which will
  35.      allow you to reassign font id's.  Most newer programs refer to fonts
  36.      correctly by name instead of id number, which should reduce the
  37.      frequency of this problem.
  38.  
  39.   2) When using a document written in MSWord 5.0, the font mysteriously
  40.      changes when you switch from your computer at home to work, or vice
  41.      versa.  This is the result of a bug in MSWord 5.0. The MSWord 5.0
  42.      updater, which can be found at the info-mac archives at sumex (in the
  43.      demo folder), will fix this bug.
  44.  
  45. 6. Creating Mac screen fonts from Type 1 outlines
  46.  
  47. A)
  48.   Berthold K.P. Horn <bkph@ai.mit.edu> contributes the following solution.
  49.  
  50.   This is a commercial solution.  A font manipulation package from Y&Y
  51.   includes:
  52.  
  53.   AFMtoPFM, PFMtoAFM, AFMtoTFM, TFMtoAFM, AFMtoSCR, SCRtoAFM, TFMtoMET,
  54.   PFBtoPFA, PFAtoPFB, MACtoPFA, PFBtoMAC, REENCODE, MODEX, DOWNLOAD,
  55.   SERIAL, and some other stuff I forget.
  56.  
  57.   To convert PC Type 1 fonts to MacIntosh use PFBtoMAC on the outline
  58.   font itself; then use AFMtoSCR to make the Mac `screen font'
  59.   (repository of metric info). You may need to use PFMtoAFM to first
  60.   make AFM file.
  61.  
  62.   To convert MacIntosh font to PC Type 1, use MACtoPFA, followed by
  63.   PFAtoPFB.  Then run SCRtoAFM on screen font to make AFM file.
  64.   Finally, run AFMtoPFM to make Windows font metric file.
  65.  
  66.   Y&Y are the `TeX without BitMaps' people (see ad in TUGboat):
  67.  
  68.     Y&Y makes DVPSONE, DVIWindo, and fonts, for use with TeX mostly,
  69.     in fully hinted Adobe Type 1 format.
  70.  
  71.     Y&Y, 106 Indian Hill, Carlisle MA 01741  USA
  72.     (800) 742-4059
  73.     (508) 371-3286 (voice)
  74.     (508) 371-2004 (fax)
  75.  
  76. B)
  77.   Mac Screen fonts can be constructed from outline fonts using
  78.   Fontographer, as well.
  79.  
  80.  
  81. -- END OF PART II --
  82.  
  83.  
  84.  
  85.  
  86. FAQ for comp.fonts: Part III: MS-DOS-specific Info
  87.  
  88. Version 1.0.0, Release 02OCT92
  89.  
  90.  
  91. This section is divided into the following topics:
  92.  
  93. 1.  MS-DOS font notes
  94. 2.  Font installation
  95. 3.  Font utilities
  96. 4.  Converting Macintosh Type1 fonts to MS-DOS format
  97. 5.1 Converting PC Type1 fonts into TeX PK bitmap fonts
  98. 5.2 Converting TeX PK bitmaps into HP LaserJet softfonts (and vice-versa)
  99. 5.3 Converting TrueType fonts to HP LaserJet bitmap softfonts (HACK!)
  100. 6.  MS-DOS Screen Fonts (EGA/VGA text-mode fonts)
  101.  
  102. ------------------------------------------------------------------------------
  103.  
  104. 1. MS-DOS font notes
  105.  
  106.   The easiest way to get outline fonts under MS-DOS is with MicroSoft
  107.   Windows 3.x or OS/2 2.x.
  108.  
  109.   MicroSoft Windows 3.0 with Adobe Type Manager (ATM) and OS/2 2.0 support
  110.   PostScript Type1 fonts.
  111.  
  112.   MicroSoft Windows 3.1 supports TrueType fonts natively.
  113.  
  114.   Bitmap fonts are available in a variety of formats: most formats are
  115.   designed with the printer in mind and not the display since (prior to
  116.   graphical environments like Windows, GEM, and OS/2) the majority of work
  117.   under MS-DOS was done with a character-based interface.
  118.  
  119. 1.2. Frequently requested fonts
  120.  
  121.   Many fonts are available at various archives.  The biggest font archive
  122.   for MS-DOS format fonts is ftp.cica.indiana.edu.  Note: you can use any
  123.   Mac format Type1 font on your PC by converting it to PC format with the
  124.   free/shareware as described below.
  125.  
  126.   The following fonts are in Type 1 format for MS-DOS. Some are also
  127.   available in TrueType format.
  128.  
  129.   Hebrew        ShalomScript, ShalomOldStyle, ShalomStick
  130.  
  131.   Japanese      Shorai
  132.  
  133.   Start Trek    Crillee, TNG monitors
  134.  
  135. 2. Font Installation
  136.  
  137.   If you have any information that you feel belongs in this section, it
  138.   would be greatly appreciated.
  139.  
  140.   Windows
  141.  
  142.     Pat Farrell <pfarrell@cs.gmu.edu> contributes the following description
  143.     of font installation under Windows.
  144.  
  145.     Installing Fonts into Windows:
  146.  
  147.     This only covers Windows 3.1. Font is a four-letter word in Windows
  148.     versions prior to 3.1 due to the distinctions between screen fonts and
  149.     printer fonts. The upgrade price of Windows 3.1 is justified by the
  150.     integration of TrueType into the package and the inclusion of useful
  151.     fonts for all printers.
  152.  
  153.     Commercial fonts usually have installation instructions with their
  154.     manuals. The approach may differ from the method used for PD and
  155.     shareware fonts.
  156.  
  157.     To install PD and shareware fonts in Windows 3.1:
  158.  
  159.       1. Copy the fonts onto a suitable scratch area (i.e. a floppy, or any
  160.          temporary area of your hard disk.
  161.  
  162.       2. Execute "Control Panel" by double-clicking on the icon in the
  163.          Windows Program Manager's "main" group.
  164.  
  165.       3. Double-click on the Fonts icon.
  166.  
  167.       4. Double-click on the "Add" button.
  168.  
  169.       5. Select the scratch directory holding the new fonts.
  170.  
  171.       6. A list of the fonts will be displayed. You can manually select the
  172.          fonts you like, or you can use the "Select All" button.
  173.  
  174.       7. Make sure the "Copy Fonts to Windows Directory" check-box is
  175.          checked. This will copy the fonts from the scratch area to your
  176.          Windows directory.
  177.  
  178.       8. Click on the "Ok" button.
  179.  
  180.     Special notes for Windows applications:
  181.  
  182.     Word for Windows (W4W) stores font/printer information in its own
  183.     initialization files. After you add new fonts, you have to tell W4W
  184.     that the printer can use the new fonts. Do this by selecting "Printer
  185.     Setup" from the W4W main "File" menu item, click on the "Setup" button,
  186.     and then click on two "Ok" buttons to back out of the setup mode.
  187.  
  188.     Note concerning Windows 3.1 upgrade:
  189.  
  190.     There are two upgrade packages available from Microsoft for Win3.1.
  191.     There is the standard version which contains TypeType support, and
  192.     about six font families (Times New Roman, Arial, Courier, Symbols,
  193.     Wingdings, etc.). It costs something like $50 (US). The second version
  194.     contains a number of TrueType fonts that includes equivalents for the
  195.     35 standard Postscript fonts. This adds an additional $50, which is a
  196.     pretty good value.  However, if you plan on buying Microsoft's
  197.     PowerPoint, it includes the same additional fonts/typefaces. So you can
  198.     save money by not buying the fonts twice.
  199.  
  200.   More about Windows
  201.  
  202.     Q: Why are don't the TrueType fonts that come with Microsoft products
  203.        (Word-for-Windows, PowerPoint, Windows 3.1 TrueType Font Pack, etc.)
  204.        display and print properly on my system?
  205.  
  206.     A: The font matching algorithm in Win3.1 is fairly simplistic.  If you
  207.        install lots of TrueType fonts, the algorithm can get confused. In
  208.        this case, "lots" is more than 50 or so.
  209.  
  210.        According to Luann Vodder who supports Microsoft Word on CompuServ:
  211.  
  212.          "There is a procedure which Windows must go through when an
  213.          application requests a font.  Each font contains a list of
  214.          attributes such as Family, FaceName, Height, Width, Orientation,
  215.          Weight, Pitch, etc.  When an application requests a font, it fills
  216.          out a logical font for Windows containing the necessary attributes,
  217.          then starts going through a font mapping algorithm to determine
  218.          which of the installed fonts most closely matches the requested
  219.          (logical) font.  Penalties are applied against fonts whose
  220.          attributes do not match the logical font, until the fonts with the
  221.          fewest penalties are determined.  If there is a "tie", Windows may
  222.          need to rely on the order of the fonts in the WIN.INI file to
  223.          determine the "winner".
  224.  
  225.        If the fonts you want are in your WIN.INI file, and show up in
  226.        Windows' Control Panel, then try moving them higher in your WIN.INI
  227.        file with a file edittor such as SYSEDIT.
  228.  
  229.   Other Programs
  230.  
  231.     It is an unfortunate fact that almost all MS-DOS programs do things
  232.     differently.  Your best bet is to read the manual that comes with the
  233.     program you want to use.
  234.  
  235. 3. Font utilities
  236.  
  237.   PS2PK
  238.  
  239.     PS2PK allows you to convert PostScript Type1 fonts into bitmap fonts.
  240.     The bitmap files produced are in TeX PK format.
  241.  
  242.   PKtoSFP
  243.  
  244.     PKtoSFP allows you to convert TeX PK fonts into HP LaserJet softfonts.
  245.  
  246.   PFBDir/PFBInfo
  247.  
  248.     PFBDir and PFBInfo format and display the "headers" in a binary Type1
  249.     font.
  250.  
  251. 4. Converting Macintosh Type1 fonts to MS-DOS format
  252.  
  253.   Converting Macintosh Type1 fonts into PC Type1 fonts can be done using
  254.   purely free/shareware tools.  I've outlined the procedure below.  Make
  255.   sure you read the "readme" files that accompany many fonts.  Some font
  256.   authors specifically deny permission to do cross-platform conversions.
  257.  
  258.   THE TOOLS YOU NEED:
  259.   -------------------
  260.  
  261.     XBIN:   xbin23.zip in /pub/msdos/mac on oak.oakland.edu (or other mirrors)
  262.     UNSIT:  unsit30.zip in /pub/msdos/mac on oak.oakland.edu
  263.     UNCPT:  ext-pc.zip in /pub/pc/win3/util on ftp.cica.indiana.edu
  264.     REFONT: refont11.zip in /pub/pc/win3/fonts on ftp.cica.indiana.edu
  265.     BMAP2AFM: bm2af01.zip in /pub/norm/mac-font-tools on ibis.cs.umass.edu
  266.  
  267.   XBIN converts Mac "BinHex"ed files back into binary format.  BinHex is
  268.   the Mac equivalent of UUencoding, it translates files into hexadecimal
  269.   digits so that mailers can send them around without difficulty.  It also
  270.   aids in cross platform copying too, I'm sure.  BinHexed files generally
  271.   have filenames of the form "xxx.yyy.HQX".
  272.  
  273.   UNSIT explodes "Stuffit" archives.  Stuffit archives generally have
  274.   filenames of the form "xxx.SIT".
  275.  
  276.   UNCPT explodes "Compactor" archives.  The ext-pc implementation is called
  277.   "extract" and does not require windows (even thought it's in the windows
  278.   section on cica).  Compactor archives generally have filenames of the
  279.   form "xxx.CPT".
  280.  
  281.   REFONT converts Mac type1 fonts into PC type1 fonts.
  282.  
  283.   BMAP2AFM constructs AFM files from the metric information contained in
  284.   Mac screen fonts (.bmap files).  The screen font files do not have any
  285.   standard name (although they frequently have the extension .bmap).  The
  286.   screen fonts have file type "FFIL" which, in combination with some common
  287.   sense, is usually sufficient to identify them.
  288.  
  289.   I've listed the tools that I've used and the sites that are reasonable
  290.   for me to retrieve them from.  It's probably a good idea to check with
  291.   archie for closer sites if you're not in North America.  These tools run
  292.   under MS-DOS.  XBIN and UNSIT can also be run under Unix.
  293.  
  294.   HOW TO DO IT:
  295.   -------------
  296.  
  297.   Collect the Mac fonts from the archive or BBS of your choice.  Most of
  298.   these files will be in BinHexed format.  As a running example, I'm going
  299.   to use the imaginary font "Plugh.cpt.hqx".  When I download this font to
  300.   my PC, I would use the name "PLUGH.CPX".  The actual name you use is
  301.   immaterial.
  302.  
  303.   Run XBIN on PLUGH.CPX.  This will produce PLUGH.DAT, PLUGH.INF, and
  304.   PLUGH.RSR.  The data fork of the Mac file (the .DAT file) is the only one
  305.   of interest to us, you can delete the others.
  306.  
  307.   If the original file had been "Plugh.sit.hqx", we would be using the
  308.   UNSIT program.  Since I chose a .cpt file for this example, I'm going to
  309.   run UNCPT.
  310.  
  311.   Run UNCPT on PLUGH.DAT.  You want to extract the AFM file (if present),
  312.   the documentation or readme file (if present), and the Type1 outline
  313.   file.  The AFM and README files will be in the data fork of the archive
  314.   file.  The Type1 outline will be in the resource fork.  The AFM and
  315.   README files have Mac "TEXT" type.  The Type1 outline file has "LWFN"
  316.   type.  I'm not trying to describe this part in a step-by-step fashion.
  317.   Use the docs for UNCPT and UNSIT as a guide.  If you got this far you
  318.   probably won't have much difficulty.  If you do, drop me a line and I'll
  319.   try to help.
  320.  
  321.   If the font does not contain an AFM file, extract the screen font.
  322.   Screen fonts frequently have the extension .bmap and are "FFIL" type
  323.   files.  Use Bmap2AFM to construct an AFM from the screen font.  If the
  324.   archive _does_ contain an AFM file, it's safe to bet that the author's
  325.   AFM will be better than the one created by Bmap2AFM.
  326.  
  327.   Finally, run REFONT on the Type1 outline that you extracted above.  The
  328.   result should be an appropriate PC type1 outline.  REFONT will create a
  329.   PFM file for you from the AFM file, if you desire.
  330.  
  331.   Remember to register your shareware...
  332.  
  333. 5.1 Converting PC Type1 fonts into TeX PK bitmap fonts
  334.  
  335.   The release of PS2PK by Piet Tutelaers <rcpt@urc.tue.nl> is a godsend to
  336.   those of us without PostScript printers.  PS2PK converts PC/Unix format
  337.   Type 1 fonts into TeX PK files.  Used in conjunction with the AFM2TFM
  338.   utility for creating TeX metric files, this allows almost anyone to use
  339.   Type 1 PostScript fonts.  PS2PK is distributed under the GNU License and
  340.   has been made to run under MS-DOS with DJGPP's free GNU C compiler.  The
  341.   PC version requires a 386 or more powerful processor.  Check with Archie
  342.   for a source near you.
  343.  
  344.   Note: if TeX PK files are not directly usable for you, there seems to be
  345.   a fair possibility that LaserJet softfonts would be useful.  If so, check
  346.   below for instructions on converting TeX PK files to LaserJet softfonts.
  347.  
  348. 5.2 Converting TeX PK bitmaps into HP LaserJet softfonts (and vice-versa)
  349.  
  350.   There is some possibility that someone will yell 'conflict of interest'
  351.   here, but I don't think so.  I wrote the following utilities:
  352.  
  353.     PKtoSFP: convert TeX PK files to LaserJet (bitmapped) softfonts
  354.     SFPtoPK: convert LaserJet (bitmapped) softfonts to TeX PK files
  355.  
  356.   But they are completely free, so I don't gain anything by "advertising"
  357.   them here.  These are MS-DOS platform solutions only.  If you know of
  358.   other solutions, I would be happy to list them.
  359.  
  360. 5.3. TrueType to HP LaserJet bitmap softfonts (HACK!)
  361.  
  362.   If you have the tools, the following suggestion does work, but it
  363.   isn't easy and it hasn't been automated.  To be honest, I haven't
  364.   really tested it.
  365.  
  366.   If you are using Windows 3.1, get a LaserJet printer driver (you don't
  367.   need the printer, just the driver).  Using the LaserJet driver, direct
  368.   output to a file and print a simple file containing all the letters you
  369.   want in the softfont in the font that you are converting.  When the print
  370.   job has completed, the output file will contain, among other things, a
  371.   LaserJet softfont of the TrueType font you selected.  If you know the
  372.   LaserJet format, you can grab it out of there.
  373.  
  374.   I didn't say it was easy ;-)
  375.  
  376.   This method will not work with ATM [ed: as of 7/92] because ATM does
  377.   not construct a softfont; it downloads the whole page as graphics.
  378.  
  379.   Here is an overview of the LaserJet bitmap softfont format.  It should
  380.   help you get started.  If you have any questions, ask norm
  381.   <walsh@cs.umass.edu>.  If anyone wants to write better instructions... ;-)
  382.  
  383.   Many details are omitted from this description.  They are thoroughly
  384.   discussed in the HP Technical Reference for each model of laser printer.
  385.   I recommend purchasing the Tech Ref.  If you have additional questions
  386.   and do not plan to purchase the Tech Ref (or do not wish to wait for its
  387.   arrival), you can ask norm <walsh@cs.umass.edu>.
  388.  
  389.   An HP LaserJet softfont can occur almost anywhere in the output stream
  390.   destined for the printer.  In particular, it does _not_ have to be
  391.   wholly contiguous within the output file.  In fact, fonts can be
  392.   "intermixed" at will.  The following "pieces" make up a font:
  393.  
  394.   A begin font descriptor command (followed by the descriptor) and a
  395.   series of begin character descriptor commands (followed by their
  396.   associated data).  When a new character descriptor is encountered, it
  397.   is added to the _current_ font (which may change between descriptors).
  398.  
  399.   In the discussion that follows, the following notational conventions
  400.   are followed:
  401.  
  402.     Key elements are surrounded by quotation marks.  The quotation marks
  403.     are not part of the element.  Spaces within the element are for
  404.     clarity only, they are not part of the element.  All characters
  405.     (except ESC and #, described below, are _literal_ and must be
  406.     entered in the precise case shown).
  407.  
  408.     ESC means the escape character, ASCII character number 27 decimal.
  409.  
  410.     # means any decimal number.  The meaning of the number is described
  411.     in the commentary for that element.
  412.  
  413.   What is a font descriptor?  A font descriptor begins with a font
  414.   descriptor command and is followed immediately by the data for the
  415.   descriptor.  Font descriptors define data global to the font.  In
  416.   general, more recent printers are less strict about these parameters
  417.   than older printers.
  418.  
  419.   What is the font descriptor command?
  420.  
  421.    "ESC ) s # W"
  422.  
  423.      In this command, # is the number of bytes in the descriptor.  The
  424.      first element of the descriptor indicates how many of these bytes
  425.      should be interpreted as the font descriptor (the remaining bytes
  426.      are commentary only--to the printer, at least).  This area is
  427.      frequently used for copyright information, for example, although
  428.      some systems insert kerning data into this area.
  429.  
  430.   What is the font descriptor data?
  431.  
  432.     The data is:
  433.  
  434.       UI  Font descriptor size
  435.       UB  Descriptor format
  436.       UB  Font type
  437.       UI  Reserved (should be 0)
  438.       UI  Baseline distance
  439.       UI  Cell width
  440.       UI  Cell height
  441.       UB  Orientation
  442.        B  Spacing
  443.       UI  Symbol set
  444.       UI  Pitch
  445.       UI  Height
  446.       UI  xHeight
  447.       SB  Width Type
  448.       UB  Style
  449.       SB  Stroke Weight
  450.       UB  Typeface LSB
  451.       UB  Typeface MSB
  452.       UB  Serif Style
  453.       SB  Underline distance
  454.       UB  Underline height
  455.       UI  Text Height
  456.       UI  Text Width
  457.       UB  Pitch Extended
  458.       UB  Height Extended
  459.       UI  Cap Height
  460.       UI  Reserved (0)
  461.       UI  Reserved (0)
  462.       A16 Font name
  463.       ??  Copyright, or any other information
  464.  
  465.     Where, UI=unsigned integer, SI=signed integer,
  466.            UB=unsigned byte,    SB=signed byte,
  467.             B=boolean,          A16=sixteen bytes of ASCII
  468.  
  469.     After the font name, ?? bytes of extra data may be inserted.  These
  470.     bytes pad the descriptor out to the length specified in the begin
  471.     font descriptor command.
  472.  
  473.     Note: integers are _always_ in big-endian order (MSB first).
  474.  
  475.   What is a character descriptor?  A character descriptor describes the
  476.   character specific info and the layout of the bitmap.  Newer printers
  477.   can accept compressed character bitmaps.
  478.  
  479.   What is a character descriptor command?
  480.  
  481.     "ESC * c # E"
  482.  
  483.       The # is the length of the descriptor, in bytes.
  484.  
  485.   What is the character descriptor data?
  486.  
  487.     UB  Format
  488.      B  Continuation
  489.     UB  Descriptor size
  490.     UB  Class
  491.     UB  Orientation
  492.     SI  Left offset
  493.     SI  Top offset
  494.     UI  Character width
  495.     UI  Character height
  496.     SI  Delta X
  497.     ??  Character (bitmap) data.
  498.  
  499.     Although older printers cannot accept characters that include
  500.     continuations, newer printers can.  If the "continuation" field is
  501.     1, the character bitmap data begins immediately after that byte and
  502.     the remaining fields _are not_ present.
  503.  
  504.   Ok, now I understand the data, what do I look for in the output stream?
  505.  
  506.     "ESC * c # D"  defines the font number (remember the number).
  507.     "ESC ) s # W"  defines the font descriptor (as described above).
  508.     "ESC * c # E"  specifies the character code (the #, in this case).
  509.                    The next character descriptor maps to this position in
  510.                    the font.  Characters do not have to appear in any
  511.            particular order.
  512.     "ESC ( s # W"  defines the character descriptor (as described above).
  513.  
  514.     Remember, these can occur in any order.  Experimentation with the
  515.     particular driver you are using may help you restrict the number of
  516.     different cases that you have to be prepared for.
  517.  
  518.   Please report your experiences using this method to norm
  519.   <walsh@cs.umass.edu> (both to satisfy his own curiosity and to help
  520.   improve the FAQ).
  521.  
  522. 6.  MS-DOS Screen Fonts (EGA/VGA text-mode fonts)
  523.  
  524.   Editors note: the following description was mercilessly stolen from
  525.                 comp.archives on 02SEP92.  It was originally Yossi Gil's
  526.                 <yogi@cs.ubc.ca> posting.
  527.  
  528.  
  529.   FNTCOL12.ZIP contains more than 100 text mode fonts for EGA/VGA displays.
  530.   It includes fonts in different sizes for Hebrew, Greek, Cyrillic, math
  531.   symbols and various type styles including smallcaps and script.
  532.  
  533.   It is available at cs.ubc.ca in /pub/pickup/terse/fntcol12.zip
  534.  
  535. -- END OF PART III --
  536.  
  537.  
  538.  
  539.  
  540. FAQ for comp.fonts: Part IV: *nix-specific Info
  541.  
  542. Version 1.0.0, Release 02OCT92
  543.  
  544.  
  545. This section is divided into the following topics:
  546.  
  547. 0.  Please help!
  548. 1.  Font utilities
  549.  
  550. ------------------------------------------------------------------------------
  551.  
  552. 0. Please help!
  553.  
  554.   This section needs a lot of work.  At the time of this release, I'm not
  555.   in a position to write it so I'm leaving it basically blank.  Even if
  556.   you don't have time to write it, if you know what _should_ be in this
  557.   section, please forward it to norm <walsh@cs.umass.edu>.
  558.  
  559.   I have just built and installed the GNU Font utilities.  I may have more
  560.   information for this section before the next posting...
  561.  
  562. 1. Font utilities
  563.  
  564.   PS2PK
  565.  
  566.     PS2PK allows you to convert PostScript Type1 fonts into bitmap fonts.
  567.     The bitmap files produced are in TeX PK format.
  568.  
  569.   PFB2PFA
  570.  
  571.     Converts 'binary' Type1 fonts into 'ascii' Type1 fonts.
  572.  
  573. -- END OF PART IV --
  574.  
  575.  
  576.  
  577.  
  578. FAQ for comp.fonts: Part V: Sun-specific Info
  579.  
  580. Version 1.0.0, Release 02OCT92
  581.  
  582.  
  583. This section is divided into the following topics:
  584.  
  585. 0.  Please help!
  586. 1.  Fonts under Open Windows
  587.  
  588. ------------------------------------------------------------------------------
  589.  
  590. 0. Please help!
  591.  
  592.   Someone mailed a file of Sun-related font tips.  Unfortunately, I cannot
  593.   find the file.  If you have any suggestion for this section (or if you
  594.   are the person that mailed me the other list), please forward your
  595.   suggestions to norm <walsh@cs.umass.edu>.
  596.  
  597. 1. Fonts Under Open Windows
  598.  
  599.   The following information regarding fonts under Open Windows was stolen
  600.   from Liam R.E. Quim's <lee@sq.com> Open Windows FAQ.
  601.  
  602.   Does OpenWindows support Type 1 PostScript fonts?
  603.  
  604.     No.     If you have FrameMaker there is a utility to import them, I'm told.
  605.     The 57 fonts supplied with OpenWindows are fully hinted, though, and
  606.     comparing them to the Microsoft Windows and Apple TrueType fonts is
  607.     interesting...  The F3 font format is described in a publication from the
  608.     Sun OpenFonts group, listed in the Bibliography below.  Documentation on
  609.     the unbundled version of TypeScaler is also available from Sun OpenFonts.
  610.  
  611.     Sun has a program that converts Type 1 fonts to Folio format, but it's
  612.     not cheap.    You can buy Folio fonts, although the Sun sales office I
  613.     called weren't able to help me do so :-(
  614.  
  615.     The latest release of Sun's NeWSPrint supports Type 1 fonts.
  616.  
  617.   Improving font rendering time
  618.  
  619.     Although the Sun type renderer (TypeScaler) is pretty fast, it's not as
  620.     fast as loading a bitmap :-).  You can pre-generate bitmap fonts for sizes
  621.     that you use a lot, and you can also alter and access the font cache
  622.     parameters.     If you have a lot of memory you might want to increase the
  623.     font cache size.
  624.     $ psh -i
  625.     Welcome to X11/NeWS Version3 <--- psh will say this at you
  626.     currentfontmem =    % type this line ...
  627.     300    % and here's whai my server was using -- 300 Kbytes
  628.     1024 setfontmem
  629.     % Just to check:
  630.     currentfontmem =
  631.     1024
  632.     See pp. 328ff of the NeWS 3.0 Programmer's Guide.  You need to say psh -i
  633.     so that the PostScript packages are loaded - see the psh man page.
  634.  
  635.   Making bitmap fonts for faster startup:
  636.  
  637.     $ mkdir $HOME/myfonts
  638.     $ cd $HOME/myfonts
  639.     $ makeafb -20 -M $OPENWINHOME/lib/fonts/Bembo.f3b
  640.     Creating Bembo20.afb
  641.     $ convertfont -b Bembo20.afb
  642.     Bembo20.afb->./Bembo20.fb
  643.     Chars parameter greater than number of characters supplied.
  644.     $ ls
  645.     Bembo20.afb    Bembo20.fb    Synonyms.list
  646.     $ bldfamily
  647.     * Bembo               ./Bembo.ff (Encoding: latin)
  648.     cat: ./Compat.list: No such file or directory
  649.     $ xset +fp `pwd`
  650.     $ xset fp rehash
  651.  
  652.     If you want the server to see your new font directory every time,
  653.     add this directory to your FONTPATH environment variable in one
  654.     of your start-up files, e.g. .login or .profile.
  655.  
  656.   Converting between font formats (convertfont, etc.)
  657.  
  658.     You can also use Folio fonts with an X11 server, by converting them to a
  659.     bitmap (X11 bdf format) first.  Your licence forbids you from using the
  660.     fonts on another machine, and unless you have NeWSPrint you shouldn't
  661.     use them for printing.  Having said all that...  you can use makeafb and
  662.     convertfont to generate bdf files that you can compile with bdftosnf or
  663.     bdftopcf.
  664.  
  665.     Use mftobdf (from the SeeTeX distribution) to convert TeX pk fonts to
  666.     X11 bdf format, which you can then use with either X11 or OenWindows.
  667.  
  668.   Xview/OLIT fonts at 100 dpi
  669.  
  670.     There aren't any.  More precisely, the various text fonts, such as
  671.     Lucida Typewriter Sans, are available at 100 dpi, and in fact are
  672.     scalable under OpenWindows.     The glyph fonts are bitmaps, and don't
  673.     scale very well.
  674.  
  675. -- END OF PART V --
  676.  
  677.  
  678.  
  679.  
  680. FAQ for comp.fonts: Part VI: NeXT-specific Info
  681.  
  682. Version 1.0.0, Release 02OCT92
  683.  
  684.  
  685. This section is divided into the following topics:
  686.  
  687. 0.  Please help!
  688. 1.  Font availability
  689.  
  690. ------------------------------------------------------------------------------
  691.  
  692. 0. Please help!
  693.  
  694.   If you have any suggestions for this section, please forward your
  695.   suggestions to norm <walsh@cs.umass.edu>.
  696.  
  697. 1. Font availability
  698.  
  699.   Public Domain fonts for the NeXT are available via anonymous FTP from
  700.   sonata.purdue.edu, in the directory next/graphics/fonts.  The README for
  701.   this file states that the directory is currently being restructured by
  702.   the archive moderator, although fonts are still available in that
  703.   directory.
  704.  
  705. -- END OF PART VI --
  706.  
  707.  
  708.  
  709.  
  710. FAQ for comp.fonts: Part VII: X-specific Info
  711.  
  712. Version 1.0.0, Release 02OCT92
  713.  
  714.  
  715. This section is divided into the following topics:
  716.  
  717. 0.  Please help!
  718. 1.  X fonts and font utilities
  719.  
  720. ------------------------------------------------------------------------------
  721.  
  722. 0. Please help!
  723.  
  724.   This section needs a lot of work.  At the time of this release, I'm not
  725.   in a position to write it so I'm leaving it basically blank.  Even if
  726.   you don't have time to write it, if you know what _should_ be in this
  727.   section, please forward it to norm <walsh@cs.umass.edu>.
  728.  
  729. 1. X fonts and font utilities
  730.  
  731.   The following programs will allow you to create fonts for display under
  732.   X.  IBM has contributed Type1 font support for X11R5 but, at present,
  733.   I have no experience with it.
  734.  
  735.   On any given platform, X requires specially 'compiled' fonts.  The
  736.   standard method of interchange between platforms is BDF format.  The
  737.   BDF format is defined by Adobe.  A document describing the format is
  738.   available from Adobe (send "help" to <ps-file-server@adobe.com>).
  739.   It is also available in the standard X distribution.  Look under
  740.   ../X11R4(5)/mit/hardcopy/BDF.  This document is also reproduced in any
  741.   text describing the X standard.
  742.